/*******************************************************************************
 * Copyright (c) 2008 CEA LIST.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     CEA LIST - initial API and implementation
 *******************************************************************************/

package com.cea.papyrus.core.treeeditpart.pseudoelement;

import org.eclipse.uml2.uml.Behavior;

import com.cea.papyrus.core.utils.IFilter;

/**
 * Filter for behaviors
 */
public class BehaviorFilter implements IFilter {

	/**
	 * {@inheritDoc}
	 */
	public boolean isAllowed(Object object) {
		return (object instanceof Behavior);
	}
	
}
